package ex1;


import java.util.ArrayList;

/**
 * Class to create a new section including name of the section, comments, cvlines and cventries
 * 
 * 
 * @author Dennis Meyer, Sebastian Brodehl, Sebastian Schappert
 *
 */

public class CVSection 
{
	private String Name;
	private String Comment;
	private ArrayList<String[]> cvLines = new ArrayList<String[]>();
	private ArrayList<String[]> cvEntrys = new ArrayList<String[]>();
	public String getName() {
		return Name;
	}
	public void setName(String name) {
		Name = name;
	}
	public String getComment() {
		return Comment;
	}
	public void setComment(String comment) {
		Comment = comment;
	}
	public ArrayList<String[]> getCvLines() {
		return cvLines;
	}
	public void setCvLines(ArrayList<String[]> cvLines) {
		this.cvLines = cvLines;
	}
	public ArrayList<String[]> getCvEntrys() {
		return cvEntrys;
	}
	public void setCvEntrys(ArrayList<String[]> cvEntrys) {
		this.cvEntrys = cvEntrys;
	}
	
	@Override
	public String toString()
	{
		return this.getName();
	}
}
